package com.zerosky.crm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zerosky.crm.dao.ActivityAssociationDAO;
import com.zerosky.crm.po.ActivityAssociation;
import com.zerosky.crm.service.ActivityAssociationService;

@Service(value="activityAssociationService")
public class ActivityAssociationServiceImpl implements ActivityAssociationService {
	@Autowired
	private ActivityAssociationDAO activityAssociationDao;

	@Override
	public List<ActivityAssociation> getActivityAssociationList(Map map) {
		return activityAssociationDao.getActivityAssociationList(map);
	}

	@Override
	public int addActivityAssociation(ActivityAssociation dept) {
		return activityAssociationDao.addActivityAssociation(dept);
	}

	@Override
	public int deleteActivityAssociationById(Map map) {
		return activityAssociationDao.deleteActivityAssociationById(map);
	}

}
